package com.yonyou.ucf.mdf.app.isvdxq.other.entity;

import com.fasterxml.jackson.annotation.JsonIgnoreProperties;
import com.fasterxml.jackson.annotation.JsonInclude;
import com.google.gson.Gson;
import com.yonyou.iuap.yms.param.BaseEntity;
import com.yonyou.iuap.yms.annotation.*;

@JsonInclude(JsonInclude.Include.NON_NULL)
@JsonIgnoreProperties(ignoreUnknown = true)
@YMSEntity
@YMSTable(tableName = "dxqyy_unitassist")
public class UnitassistEntity extends BaseEntity {

    private Long id;

    private String productId;

    private String unitExchangeType;

    private String assistUnit;

    @YMSColumn(name = "assistUnit_Name")
    private String assistUnit_Name;

    private String assistUnitCount;

    private String mainUnitCount;

    private String productTemplate;

    @YMSColumn(name = "ytenant_id")
    private String tenant_id;

    public String getTenant_id() {
        return tenant_id;
    }

    public void setTenant_id(String tenant_id) {
        this.tenant_id = tenant_id;
    }

    @Override
    public String toString() {
        return new Gson().toJson(this);
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }

    public String getProductId() {
        return productId;
    }

    public void setProductId(String productId) {
        this.productId = productId;
    }

    public String getUnitExchangeType() {
        return unitExchangeType;
    }

    public void setUnitExchangeType(String unitExchangeType) {
        this.unitExchangeType = unitExchangeType;
    }

    public String getAssistUnit() {
        return assistUnit;
    }

    public void setAssistUnit(String assistUnit) {
        this.assistUnit = assistUnit;
    }

    public String getAssistUnit_Name() {
        return assistUnit_Name;
    }

    public void setAssistUnit_Name(String assistUnit_Name) {
        this.assistUnit_Name = assistUnit_Name;
    }

    public String getAssistUnitCount() {
        return assistUnitCount;
    }

    public void setAssistUnitCount(String assistUnitCount) {
        this.assistUnitCount = assistUnitCount;
    }

    public String getMainUnitCount() {
        return mainUnitCount;
    }

    public void setMainUnitCount(String mainUnitCount) {
        this.mainUnitCount = mainUnitCount;
    }

    public String getProductTemplate() {
        return productTemplate;
    }

    public void setProductTemplate(String productTemplate) {
        this.productTemplate = productTemplate;
    }
}
